// ******************************************************************
// * Copyright(c)  Steven Lu
// * Description   : Schema_CHK_QUALITY_CHECKING_ITEM_DETAIL
// * CreateDate    : 2011-11-23 11:20:26
// * Creater       : CodeSmith
// * LastChangeDate: 2011-11-23 11:20:26
// * LastChanger   : 2011-11-23 11:20:26
// * Version Info  : 1.0 For ESOL
// ******************************************************************

using System;
using System.Collections.Generic;
using System.Text;
using Suzsoft.Smart.EntityCore;

namespace ESOL.Common.Schema
{
  	[Serializable]
    public partial class ChkQualityCheckingItemDetailTable : TableInfo
    {
		public const string C_TableName = "CHK_QUALITY_CHECKING_ITEM_DETAIL";
		
		public const string C_CHECKING_ITEM_DETAIL_ID = "CHECKING_ITEM_DETAIL_ID";
		public const string C_CHECKING_ITEM_ID = "CHECKING_ITEM_ID";
		public const string C_RESULT = "RESULT";
		public const string C_QTY = "QTY";
		public const string C_DESCRIPTION = "DESCRIPTION";
		public const string C_NG_CODE = "NG_CODE";
		public const string C_ADVICE = "ADVICE";
		
		public ChkQualityCheckingItemDetailTable()
        {
            _tableName = "CHK_QUALITY_CHECKING_ITEM_DETAIL";
        }
		
		protected static ChkQualityCheckingItemDetailTable _current;
        public static ChkQualityCheckingItemDetailTable Current
        {
            get
            {
                if (_current == null)
                {
                    Initial();
                }
                return _current;
            }
        }
		
		private static void Initial()
        {
            _current = new ChkQualityCheckingItemDetailTable();

            _current.Add(C_CHECKING_ITEM_DETAIL_ID, new ColumnInfo(C_CHECKING_ITEM_DETAIL_ID,"CheckingItemDetailId", true, typeof(string)));
            _current.Add(C_CHECKING_ITEM_ID, new ColumnInfo(C_CHECKING_ITEM_ID,"CheckingItemId", false, typeof(string)));
            _current.Add(C_RESULT, new ColumnInfo(C_RESULT,"Result", false, typeof(string)));
            _current.Add(C_QTY, new ColumnInfo(C_QTY,"Qty", false, typeof(decimal)));
            _current.Add(C_DESCRIPTION, new ColumnInfo(C_DESCRIPTION,"Description", false, typeof(string)));
            _current.Add(C_NG_CODE, new ColumnInfo(C_NG_CODE,"NgCode", false, typeof(string)));
            _current.Add(C_ADVICE, new ColumnInfo(C_ADVICE,"Advice", false, typeof(string)));
			
		}
		
		public ColumnInfo CHECKING_ITEM_DETAIL_ID
        {
            get { return this[C_CHECKING_ITEM_DETAIL_ID]; }
        }
		
		public ColumnInfo CHECKING_ITEM_ID
        {
            get { return this[C_CHECKING_ITEM_ID]; }
        }
		
		public ColumnInfo RESULT
        {
            get { return this[C_RESULT]; }
        }
		
		public ColumnInfo QTY
        {
            get { return this[C_QTY]; }
        }
		
		public ColumnInfo DESCRIPTION
        {
            get { return this[C_DESCRIPTION]; }
        }
		
		public ColumnInfo NG_CODE
        {
            get { return this[C_NG_CODE]; }
        }
		
		public ColumnInfo ADVICE
        {
            get { return this[C_ADVICE]; }
        }
		
		
		
	}
}

